package com.fc.nacosdemo.bpoint.annotation;

import java.util.Arrays;
import java.util.List;

/**
 * 最多支持打印5个参数
 */
public enum  EBusinessOPT {

    /**
     * 业务线，操作，具体业务 参数 key
     */
    TEST("ORDER","TEST",
            Arrays.asList("userName","userAge","userPhone","testabc"));

    private String optCode;
    private String optDesc;
    private List<String> logContentValueNames;

    EBusinessOPT(String optCode, String optDesc, List<String> logContent) {
        this.optDesc = optDesc;
        this.optCode = optCode;
        this.logContentValueNames = logContent;
    }

    public String getOptCode() {
        return optCode;
    }

    public String getOptDesc() {
        return optDesc;
    }

    public List<String> getLogContent() {
        return logContentValueNames;
    }
}
